<h4>Страница пользователя <?php print $args['user']->user_login; ?></h4>
<table>
    <tr><td rowspan="6"><img src="<?php print DIR_BASE.$args['user']->avatar_small; ?>"></td></tr>
    <tr><td>ID</td><td><?php print $args['user']->user_id; ?></td></tr>
    <tr><td>Имя</td><td><?php print $args['user']->user_nickname; ?></td></tr>
    <tr><td>Статус</td><td><?php print $args['user']->status; ?></td></tr>
    <tr><td>Дата регистрации</td><td><?php print $args['user']->registration_date; ?></td></tr>
    <tr><td>Последняя активность</td><td><?php print $args['user']->last_activity; ?></td></tr>
</table>

<?php if ($args['vk']['is_attached']): ?>
<?php print $args['vk']['html']; ?>
<?php else: ?>
<a href="https://oauth.vk.com/authorize?client_id=<?php print VK_APP_ID; ?>&scope=friends,video,offline&redirect_uri=http://localhost/pleasure/profile/attach/vk/">Прикрепить ВК аккаунт</a>
<?php endif; ?>